#ifndef SF_MACRODEFINE_H_
#define SF_MACRODEFINE_H_
#pragma once

#ifdef SWORDFISH_EXPORTS
#define SF_API __declspec(dllexport)
#else
#define SF_API __declspec(dllimport)
#endif

#define SAFE_DEL(point) if(point){delete point;point = 0;}
#define SAFE_ARRAY_DEL(point) if(point){delete []point;point = 0;}
#define SAFE_RELEASE(point) if(point){point->Release();point = 0;}

#endif